Skip to content

feat: fff for file search - #1426

Open
dmtrKovalenko wants to merge 1 commit into
vicinaehq:mainfrom
dmtrKovalenko:feat/fff
Open

feat: fff for file search#1426
dmtrKovalenko wants to merge 1 commit into
vicinaehq:mainfrom
dmtrKovalenko:feat/fff

Conversation

@dmtrKovalenko

Copy link
Copy Markdown

This is how it works:

Screencast.From.2026-05-20.11-51-09.mp4

A few important descisions/questions:

  1. fff doesn't persist the index, the index is extremely fast so I don't see a reason to vaste resources storing paths anywhere. The index lives per the scope of open window triggered by file search view open
  2. fff uses databases for access patterns, I suppose a lot of people would be happy if we reuse their existing database, I added a logic for this. Though your recently accessed files feature is separate
  3. The search open window now shows the amount of indexed files in real time, can revert this - just thinking this is cool

Comment thread src/server/CMakeLists.txt
target_compile_features(${TEST_TARGET} PUBLIC cxx_std_23)
endif()

# Standalone smoke test for the fff integration. Not gated on BUILD_TESTS,

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been using this for my local development, it is LLM generated, so keep your own judgement - I think before merge we should get rid of this

@dmtrKovalenko
dmtrKovalenko force-pushed the feat/fff branch 2 times, most recently from 19933f6 to 006d0ad Compare May 20, 2026 20:14
This is how it works:

https://github.com/user-attachments/assets/b9627617-b274-4a38-9ca3-13d6e7c8e963

A few important descisions/questions:

1. fff doesn't persist the index, the index is extremely fast so I don't
   see a reason to vaste resources storing paths anywhere. The index
   lives per the scope of open window triggered by file search view open
2. fff uses databases for access patterns, I suppose a lot of people
   would be happy if we reuse their existing database, I added a logic
   for this. Though your recently accessed files feature is separate
3. The search open window now shows the amount of indexed files in real
   time, can revert this - just thinking this is cool

This PR was done with assistance of Claude Opus 4.7
@dmtrKovalenko

Copy link
Copy Markdown
Author

On the current build? Hmm we should canonicalize the path probably

@vMohammad24

Copy link
Copy Markdown
Contributor

did some testing with it, and i mainly only have the following issues:

  1. it indexes everytime i open the menu
  2. it does not work with ~ and does not provide any errors (outside of logs) and simply says no results
  3. reopening it breaks it entirely (as shown in the video)

https://nest.rip/f/rcBEr (video's too large for github 10MB limit)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants